keytool -genkey -alias mykey -keystore mykeystore.store -storetype PKCS12 -keyalg RSA -storepass mystorepass  -validity 365 -keysize 2048 -dname "CN=liudongliang, OU=chzu, L=xxxy, S=chuzhou, O=anhui, C=CH" 
keytool -export -keystore mykeystore.store -alias mykey -validity 365 -file mykeystore.cert -storepass mystorepass
javac *.java -d .
jar cvfe GuiCalculator.jar gitops.idegitplugin.GuiCalculator gitops/idegitplugin/*.class
jarsigner -keystore mykeystore.store GuiCalculator.jar mykey -storepass mystorepass -keypass mykeypass
echo keystore "file:mykeystore.store","PKCS12"; grant signedBy "mykey" { permission java.io.FilePermission"<<ALL FILES>>","read";};>mykeystore.policy
mkdir vscodegitplugin
move mykeystore.policy vscodegitplugin
move mykeystore.store vscodegitplugin
move mykeystore.cert vscodegitplugin
copy index.html vscodegitplugin
copy GuiCalculator.jar vscodegitplugin
copy GuiCalculator.jnlp vscodegitplugin
cd vscodegitplugin
jar cvf vscodegitplugin.war *
copy vscodegitplugin.war "C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps"
cd ..
rd /s/q vscodegitplugin 
javaws GuiCalculator.jnlp
start http://localhost/vscodegitplugin/index.html
